/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package id3tagger;

import id3tagger.db.DBManager;
import id3tagger.db.QueryGenerator;
import java.io.File;

/**
 *
 * @author monzie
 */
public class TestSong
{
    public static void main(String[] args) throws Exception
    {
        File f = new File("/home/monzie/Musique/testbob.mp3");
        //System.out.println("Chanson existe :"+f.exists());
        Song s = new Song(f);
        //Song s = new Song(new File("/home/monzie/Musique/ziva.wma"));
        System.out.println(s);
        DBManager dbm = new DBManager("songs.db");
        dbm.addSong(s);
        System.out.println(QueryGenerator.list("artiste", "Bob l'Dylan"));
    }
}